70 research outputs found

    Synthesis of Interface Specifications for Java Classes

    Get PDF
    While a typical software component has a clearly specified (static) interface in terms of the methods and the input/output types they support, information about the correct sequencing of method calls the client must invoke is usually undocumented. In this paper, we propose a novel solution for automatically extracting such temporal specifications for Java classes. Given a Java class, and a safety property such as the exception E should not be raised , the corresponding (dynamic) interface is the most general way of invoking the methods in the class so that the safety property is not violated. Our synthesis method first constructs a symbolic representation of the finite state-transition system obtained from the class using predicate abstraction. Constructing the interface then corresponds to solving a partial-information two-player game on this symbolic graph. We present a sound approach to solve this computationally-hard problem approximately using algorithms for learning finite automata and symbolic model checking for branching-time logics. We describe an implementation of the proposed techniques in the tool JIST- Java Interface Synthesis Tool- and demonstrate that the tool can construct interfaces accurately and efficiently for sample Java2SDK library classes

    Bridging boolean and quantitative synthesis using smoothed proof search

    Get PDF
    We present a new technique for parameter synthesis under boolean and quantitative objectives. The input to the technique is a "sketch" --- a program with missing numerical parameters --- and a probabilistic assumption about the program's inputs. The goal is to automatically synthesize values for the parameters such that the resulting program satisfies: (1) a {boolean specification}, which states that the program must meet certain assertions, and (2) a {quantitative specification}, which assigns a real valued rating to every program and which the synthesizer is expected to optimize. Our method --- called smoothed proof search --- reduces this task to a sequence of unconstrained smooth optimization problems that are then solved numerically. By iteratively solving these problems, we obtain parameter values that get closer and closer to meeting the boolean specification; at the limit, we obtain values that provably meet the specification. The approximations are computed using a new notion of smoothing for program abstractions, where an abstract transformer is approximated by a function that is continuous according to a metric over abstract states. We present a prototype implementation of our synthesis procedure, and experimental results on two benchmarks from the embedded control domain. The experiments demonstrate the benefits of smoothed proof search over an approach that does not meet the boolean and quantitative synthesis goals simultaneously.National Science Foundation (U.S.) (NSF Award #1162076

    Complexity of checking whether two automata are synchronized by the same language

    Full text link
    A deterministic finite automaton is said to be synchronizing if it has a reset word, i.e. a word that brings all states of the automaton to a particular one. We prove that it is a PSPACE-complete problem to check whether the language of reset words for a given automaton coincides with the language of reset words for some particular automaton.Comment: 12 pages, 4 figure

    Vector bundles on the projective line and finite domination of chain complexes

    Get PDF
    Finitely dominated chain complexes over a Laurent polynomial ring in one indeterminate are characterised by vanishing of their Novikov homology. We present an algebro-geometric approach to this result, based on extension of chain complexes to sheaves on the projective line. We also discuss the K-theoretical obstruction to extension.Comment: v1: 11 page

    LNCS

    Get PDF
    We define the model-measuring problem: given a model M and specification φ, what is the maximal distance ρ such that all models M′ within distance ρ from M satisfy (or violate) φ. The model measuring problem presupposes a distance function on models. We concentrate on automatic distance functions, which are defined by weighted automata. The model-measuring problem subsumes several generalizations of the classical model-checking problem, in particular, quantitative model-checking problems that measure the degree of satisfaction of a specification, and robustness problems that measure how much a model can be perturbed without violating the specification. We show that for automatic distance functions, and ω-regular linear-time and branching-time specifications, the model-measuring problem can be solved. We use automata-theoretic model-checking methods for model measuring, replacing the emptiness question for standard word and tree automata by the optimal-weight question for the weighted versions of these automata. We consider weighted automata that accumulate weights by maximizing, summing, discounting, and limit averaging. We give several examples of using the model-measuring problem to compute various notions of robustness and quantitative satisfaction for temporal specifications

    Ownership and control in a competitive industry

    Get PDF
    We study a differentiated product market in which an investor initially owns a controlling stake in one of two competing firms and may acquire a non-controlling or a controlling stake in a competitor, either directly using her own assets, or indirectly via the controlled firm. While industry profits are maximized within a symmetric two product monopoly, the investor attains this only in exceptional cases. Instead, she sometimes acquires a noncontrolling stake. Or she invests asymmetrically rather than pursuing a full takeover if she acquires a controlling one. Generally, she invests indirectly if she only wants to affect the product market outcome, and directly if acquiring shares is profitable per se. --differentiated products,separation of ownership and control,private benefits of control

    Mapping human dispersals into the Horn of Africa from Arabian Ice Age refugia using mitogenomes

    Get PDF
    Rare mitochondrial lineages with relict distributions can sometimes be disproportionately informative about deep events in human prehistory. We have studied one such lineage, haplogroup R0a, which uniquely is most frequent in Arabia and the Horn of Africa, but is distributed much more widely, from Europe to India. We conclude that: (1) the lineage ancestral to R0a is more ancient than previously thought, with a relict distribution across the Mediterranean/Southwest Asia; (2) R0a has a much deeper presence in Arabia than previously thought, highlighting the role of at least one Pleistocene glacial refugium, perhaps on the Red Sea plains; (3) the main episode of dispersal into Eastern Africa, at least concerning maternal lineages, was at the end of the Late Glacial, due to major expansions from one or more refugia in Arabia; (4) there was likely a minor Late Glacial/early postglacial dispersal from Arabia through the Levant and into Europe, possibly alongside other lineages from a Levantine refugium; and (5) the presence of R0a in Southwest Arabia in the Holocene at the nexus of a trading network that developed after ~3 ka between Africa and the Indian Ocean led to some gene flow even further afield, into Iran, Pakistan and India

    Early inhaled budesonide for the prevention of bronchopulmonary dysplasia

    Get PDF
    BACKGROUND Systemic glucocorticoids reduce the incidence of bronchopulmonary dysplasia among extremely preterm infants, but they may compromise brain development. The effects of inhaled glucocorticoids on outcomes in these infants are unclear. METHODS We randomly assigned 863 infants (gestational age, 23 weeks 0 days to 27 weeks 6 days) to early (within 24 hours after birth) inhaled budesonide or placebo until they no longer required oxygen and positive-pressure support or until they reached a postmenstrual age of 32 weeks 0 days. The primary outcome was death or bronchopulmonary dysplasia, confirmed by means of standardized oxygen-saturation monitoring, at a postmenstrual age of 36 weeks. RESULTS A total of 175 of 437 infants assigned to budesonide for whom adequate data were available (40.0%), as compared with 194 of 419 infants assigned to placebo for whom adequate data were available (46.3%), died or had bronchopulmonary dysplasia (relative risk, stratified according to gestational age, 0.86; 95% confidence interval [CI], 0.75 to 1.00; P = 0.05). The incidence of bronchopulmonary dysplasia was 27.8% in the budesonide group versus 38.0% in the placebo group (relative risk, stratified according to gestational age, 0.74; 95% CI, 0.60 to 0.91; P = 0.004); death occurred in 16.9% and 13.6% of the patients, respectively (relative risk, stratified according to gestational age, 1.24; 95% CI, 0.91 to 1.69; P = 0.17). The proportion of infants who required surgical closure of a patent ductus arteriosus was lower in the budesonide group than in the placebo group (relative risk, stratified according to gestational age, 0.55; 95% CI, 0.36 to 0.83; P = 0.004), as was the proportion of infants who required reintubation (relative risk, stratified according to gestational age, 0.58; 95% CI, 0.35 to 0.96; P = 0.03). Rates of other neonatal illnesses and adverse events were similar in the two groups. CONCLUSIONS Among extremely preterm infants, the incidence of bronchopulmonary dysplasia was lower among those who received early inhaled budesonide than among those who received placebo, but the advantage may have been gained at the expense of increased mortality
    corecore